package com.lhn.spring5.collectiontype;

/**
 * 〈一句话功能简述>
 * 〈课程〉
 *
 * @Author 17505
 * @Create 2021/12/26
 * @Since 1.0.0
 */
public class Course {

    private String cname;

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Course{");
        sb.append("cname='").append(cname).append('\'');
        sb.append('}');
        return sb.toString();
    }
}